+Thu Jul 8 00:31:34 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing
+ when a new model is set. (#145566, Dmitry M. Shatrov)
+
Wed Jul 7 23:44:32 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkimage.c (gtk_image_expose): Make sure that subpixbufs
+Thu Jul 8 00:31:34 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing
+ when a new model is set. (#145566, Dmitry M. Shatrov)
+
Wed Jul 7 23:44:32 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkimage.c (gtk_image_expose): Make sure that subpixbufs
+Thu Jul 8 00:31:34 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing
+ when a new model is set. (#145566, Dmitry M. Shatrov)
+
Wed Jul 7 23:44:32 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkimage.c (gtk_image_expose): Make sure that subpixbufs
+Thu Jul 8 00:31:34 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing
+ when a new model is set. (#145566, Dmitry M. Shatrov)
+
Wed Jul 7 23:44:32 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkimage.c (gtk_image_expose): Make sure that subpixbufs
* @model: The model.
*
* Sets the model for a #GtkTreeView. If the @tree_view already has a model
- * set, it will remove it before setting the new model. If @model is %NULL, then
- * it will unset the old model.
+ * set, it will remove it before setting the new model. If @model is %NULL,
+ * then it will unset the old model.
**/
void
gtk_tree_view_set_model (GtkTreeView *tree_view,
GList *tmplist = tree_view->priv->columns;
gtk_tree_view_unref_and_check_selection_tree (tree_view, tree_view->priv->tree);
+ gtk_tree_view_stop_editing (tree_view, TRUE);
g_signal_handlers_disconnect_by_func (tree_view->priv->model,
gtk_tree_view_row_changed,